{% set base_images = 'http://media.yellowpages.co.th/yellowpages' %} {% set base_promotion = promotion.baseurl %}
{% if profile.logo %}
{#logo#}
{% else %}
{#end logo#} {% endif %}

{{ profile.humanname|raw }}

{% trans %}Category{% endtrans %} : {{ profile.headingname|raw }}

View : xxxxx

{% if type != 'FL' %} {% endif %} {#description#}
{% if type != 'FL' %} {{ profile.profile|raw}} {% if profile.profile %}{% endif %} {% else %} {{ profile.profile|raw|slice(0, 100)}}{% if profile.profile|length > 100 %}{{ '...

' }} {% endif %} {% if profile.profile %}{% endif %} {% endif %} {% if not profile.addr %}{% else %}

{% trans %} Address {% endtrans %}

{{ [profile.addr,profile.soi,profile.road,profile.subdistrictname, profile.districtname,profile.cityname,profile.postcode]|join(' ') }} {% endif %} {% if profile.location.lat %} {% else %} {% endif %}
{#end description#} {#picture#}
{#end picture#} {#contact#}

Contact

{#address#}

{% trans %} Address {% endtrans %}:

{{ [profile.addr,profile.soi,profile.road,profile.subdistrictname,profile.districtname,profile.cityname,profile.postcode]|join(' ') }}
{#tel.#} {% if not profile.telno %}{% else %}

{% trans %} Tel {% endtrans %}:

{% if not profile.telno %} {% else %} {% if type == 'FL' %} {{ profile._format.telno.0 }} {% else %} {% for key, tel in profile._format.telno %} {% if loop.last != key+1 %}{{ tel }}{{ "," }} {% else %}{{ tel }}{% endif %} {% endfor %} {% endif %} {% endif %}
{% endif %} {#fax#} {% if not profile.fax %}{% else %}

{% trans %} Fax {% endtrans %}:

{% if not profile.fax %} {% else %} {% if type == 'FL' %} {{ profile._format.fax.0 }} {% else %} {% for key, fax in profile._format.fax %} {% if loop.last != key+1 %}{{ fax }}{{ "," }} {% else %}{{ fax }}{% endif %} {% endfor %} {% endif %} {% endif %}
{% endif %} {#e-mail#} {% if not profile.email %}{% else %}

{% trans %} Email {% endtrans %}:

{% if not profile.email %} {% else %} {% if type == 'FL' %} {% set email = profile.email|split(',') %} {{ email.0 }} {% for key , mail in email %} {% if loop.last != key+1 %}{{ mail }}, {% else %}{{ mail }}{% endif %} {% endfor %} {% else %} {% set email = profile.email|split(',') %} {% for key , mail in email %} {% if loop.last != key+1 %}{{ mail }}, {% else %}{{ mail }}{% endif %} {% endfor %} {% endif %} {% endif %}
{% endif %} {#website#} {% if not profile.website %}{% else %}

{% trans %} Website {% endtrans %}:

{% if not profile.website %} {% else %} {% set website_show = profile.website_show|split(',') %} {% if type == 'FL' %} {{ website_show.0 }} {% else %} {% for key , web in website_show %} {% if loop.last != key+1 %}{{web}}, {% else %}{{web}}{% endif %} {% endfor %} {% endif %} {% if type == 'FL' %} {% set website_show = profile.website_show|split(',') %} {{ website_show.0 }} {% else %} {% for key , web in profile.website %} {% if loop.last %} {{web}} {% else %} {{web}}, {% endif %} {% endfor %} {% endif %} {% endif %}
{% endif %} {#work-time#} {% if not profile.workinghours %}{% else %}

{% trans %} Work-Time {% endtrans %}:

{% if not profile.workinghours %} {% else %} {{ profile._format.workinghours }} {% endif %}
{% endif %}
{#end contact#} {#Map#}
{% if type != 'FL' %} {% if not prodescription or prodescription is empty %} {% else %} {% trans %} Product And Service {% endtrans %} {{ prodescription|raw }} {% endif %}
{% if not profile.brandname %} {% else %}{% trans %}Brand Name{% endtrans %} {{ profile.brandname|replace({"

":" ","

":" "}) }} {% endif %}
{% else %} {% if not prodescription or prodescription is empty %} {% else %} {% trans %} Product And Service {% endtrans %} {{ prodescription|raw }} {% if prodescription and profile.brandname %}{% endif %} {% endif %} {% endif %} {% if type == 'FL' %} {% if profile.location.lat %} {# {#end typ profile freelist#}